package com.glq1218.category.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.glq1218.category.bo.AddCategoryBO;
import com.glq1218.category.bo.CategoryBO;
import com.glq1218.category.bo.QueryCategoryBO;
import com.glq1218.category.bo.UpdateCategoryBO;
import com.glq1218.category.entity.Category;
import com.glq1218.domain.IntervalStr;
import com.glq1218.domain.PaginationParam;
import com.glq1218.domain.PaginationResult;
import com.glq1218.domain.SortParam;

/**
 * @author glq1218
 * @description TODO
 * @since 2023/4/26 14:35
 */
public interface CategoryService extends IService<Category> {

    PaginationResult<CategoryBO> queryCategoryList(PaginationParam paginationParam, SortParam sortParam, IntervalStr intervalStr, QueryCategoryBO queryCategoryBO);

    String updateCategory(UpdateCategoryBO updateCategoryBO);

    String addCategory(AddCategoryBO addCategoryBO);
}
